package Calculator;
//20230404430920沈泽华
public class test {
    public static void main(String[] args) {
        double sum = calculator.add(1.1,2.2);
        double difference = calculator.subtract(3.3,1.5);
        System.out.printf("1.1和2.2的和是%.2f \n",sum);
        System.out.printf("3.3和1.5的差是%.2f \n",difference);
        double circleArea = calculator.circleArea(5.0);
        System.out.printf("半径为5的圆的面积是%.2f \n", circleArea);
    }
}
